package net.chenyan.server.dto;/**
 * @author chenyan
 * @createTime 2022/5/10 23:06
 * @description description
 */

import cn.hutool.core.bean.BeanUtil;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import net.chenyan.server.po.List;
import net.chenyan.server.po.User;

/**
 *@description: TODO
 *@author: chenyan
 *@create: 2022/5/10 23:06
 */
@Data
public class ListDTO {

    /**
     * 创建歌单的用户id
     */
    @ApiModelProperty(value = "创建歌单的用户id", dataType = "int")
    private int createUserId;

    /**
     * 歌单封面照片
     */
    @ApiModelProperty(value = "歌单封面照片", dataType = "String")
    private String picture;


    /**
     * 歌单名称
     */
    @ApiModelProperty(value = "歌单名称", dataType = "String")
    private String name;
    public List toList() {
        List list = new List();
        BeanUtil.copyProperties(this, list);
        return list;}
}
